import time


def application(environ, start_response):
    status = "200 OK"

    headers = [
        ("Content-Type","text/plain"),
    ]
    start_response(status,headers)

    # 返回响应体
    return ("Hello world from a simple WSGI application!--->%s\n"%time.ctime())